﻿<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
    String contextPath = request.getContextPath();
%>
<html>
<head>
    <meta charset="UTF-8">
    <title>数据查询</title>   
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/themes/gray/easyuia.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/icon.css">
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/easyUI/easyui-lang-zh_CN.js"></script> 
    <script type="text/javascript" src="<%=contextPath%>/resources/js/ExportExcelDlg.js"></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/views/defineTable.js'></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/views/defineInit.js'></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/views/commonFunction.js'></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/views/reportSelf.js'></script>
    <style type="text/css">
    		
    </style>
</head>
<body style="font-size: 14px;font-family:'微软雅黑'">
<div id="content" style="width:100%;height:auto">
    <div id="bt_div" class="time" style="margin-bottom: 10px;" >
        <form action="<%=contextPath%>/report/query/self.do" id="ff" method="post">
	            <input type="hidden" id="page" name="page"  value="1">
	            <input type="hidden" id="pageSize" name="pageSize" value="30">
           
           		<label style="color: red">报表类型:
		            <select class="easyui-combobox" name="formid"  id="formid" style="width:190px;">
							<c:forEach var="formOption" items="${formes}">
								<option value="${formOption.id}">${formOption.name}</option>
							</c:forEach>
		            </select>
		        </label>
           		
<%--                <label>年份选择:</label>--%>
<%--				<c:forEach var="yearOption" items="${years}">--%>
<%--					<input name="year" type="checkbox" value="${yearOption}" checked="checked"/>${yearOption}--%>
<%--				</c:forEach>--%>

            <span style="margin-left: 10px">年份:</span>
            <select id="comboboxYear" class="easyui-combobox" name="comboboxYear"></select>
                
                <label>请输入指标：<input class="easyui-textbox" type="text" name="iname" id="iname" onkeypress="if(event.keyCode==13)return false;"  /></label>
                <label> <a href="#" onclick="query(page, pageSize);"class="easyui-linkbutton" iconCls="icon-search">查询</a> </label>
                <label> <a href="javaScript:void(0)" class="easyui-linkbutton" onclick="exportexcel()" title="导出excel文件"  iconCls="icon-excel">导出excel文件</a></label>
        </form>
        
    </div>
    
    <div id="tablepanel" class="easyui-panel" data-options="collapsible:true" style="width:100%;height:auto;padding:10px;padding-right:10px;" title="报表列表"><table id="tt" style="width:auto;height:auto;"></table></div>

    </div>
</body>
</html>